package com.kqb.sgdrug.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kqb.sgdrug.model.DrugImg;
import com.kqb.sgdrug.service.DrugImgService;
import com.kqb.sgdrug.mapper.DrugImgMapper;
import jakarta.annotation.Resource;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Service;

/**
 * @author D
 * @description 针对表【t_drug_img(药品图片表（无外键约束版）)】的数据库操作Service实现
 * @createDate 2025-06-25 19:57:11
 */
@Service
public class DrugImgServiceImpl extends ServiceImpl<DrugImgMapper, DrugImg>
        implements DrugImgService {

    public static final String CACHE_NAME = " drugImg";
    @Resource
    private ApplicationContext applicationContext;

    @Override
    public String getCacheName() {
        return CACHE_NAME;
    }

    @Override
    public ApplicationContext getApplicationContext() {
        return applicationContext;
    }
}




